<template>
  <div class="video">
    <!-- 宣传视频 autoplay-->
    <!-- <button @click="speed">倍速</button> -->
    <video controls src="../../assets/1.mp4" loop id="videoOne"></video>
  </div>
</template>
<script type="text/javascript">
export default {
  data() {
    return {};
  },
  methods: {
    speed() {
      var video = document.getElementById("videoOne");
      video.playbackRate = 2;
    }
  }
};
</script>
<style>
.video {
  height: calc(100vh - 50px);
  background-color: #1a1a1a;
  border-left: #111317;
}
video {
  height: 100%;
  width: 100%;
}
</style>
